package c.a.md.androidvideo;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

import c.a.md.androidvideo.gles.PointActivity;

public class MainActivity extends AppCompatActivity
{

    @Override
    protected void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    public void click(View view)
    {
        switch (view.getId())
        {
            case R.id.btn1:
                startActivity(new Intent(this, ImageActivity.class));
                break;
            case R.id.btn2:
                startActivity(new Intent(this, AudioActivity.class));
                break;
            case R.id.btn3:
                startActivity(new Intent(this, RecordAndPlayActivity.class));
                break;
            case R.id.btn4:
                startActivity(new Intent(this, CameraActivity.class));
                break;
            case R.id.btn5:
                startActivity(new Intent(this, PKGDecodeActivity.class));
                break;
            case R.id.btn6:
                startActivity(new Intent(this, VideoAudioRecordActivity.class));
                break;
            case R.id.btn7:
                startActivity(new Intent(this, PointActivity.class));
                break;
        }
    }
}
